package com.ld.admin.model.system;

import java.io.Serializable;
import java.util.List;

import com.ld.shieldsb.annotation.field.db.OnlyShow;
import com.ld.shieldsb.annotation.model.ModelAnno.Model;
import com.ld.shieldsb.annotation.model.ModelAnno.TableName;

import lombok.Data;

/**
 * 
 * 系统参数表(sys_config)
 * 
 * @ClassName SysConfigModel
 * @author <a href="mailto:donggongai@126.com" target="_blank">吕凯</a>
 * @date 2019年07月30日 11:07:36
 *
 */
@Model(name = "系统参数表")
@TableName("sys_config")
@Data
public class SysConfigModel implements Serializable {
    private static final long serialVersionUID = 3621511292581590864L;

    /*主键*/
    private Long id;
    /*参数名*/
    private String name;
    /*状态 0正常 -1 删除*/
    private Integer state;
    /*父类Id*/
    private Long pid;
    /*顺序*/
    private Long orders;
    /*参数数值*/
    private String value;

    @OnlyShow
    /*子菜单*/
    private List<SysConfigModel> childConfigs;

    public SysConfigModel() {
    }

}
